Higher-Order Narrowing with De nitional Trees
نویسندگان
چکیده
Functional logic languages with a sound and complete opera tional semantics are mainly based on narrowing Due to the huge search space of simple narrowing steadily improved narrowing strategies have been developed in the past Needed narrowing is currently the best nar rowing strategy for rst order functional logic programs due to its opti mality properties w r t the length of derivations and the number of com puted solutions In this paper we extend the needed narrowing strategy to higher order functions and terms as data structures By the use of def initional trees our strategy computes only incomparable solutions Thus it is the rst calculus for higher order functional logic programming which provides for such an optimality result Since we allow higher order logical variables denoting terms applications go beyond current functional and logic programming languages
منابع مشابه
A Higher-Order Demand-Driven Narrowing Calculus with Definitional Trees
We generalize the Constructor-based ReWriting Logic CRWL to the setting of the simply typed λ-calculus, where theories are presented by conditional overlapping fully extended pattern rewrite systems. We claim that this logic is useful for higher-order functional-logic programming, and propose a Higher-Order Lazy Narrowing calculus HOLNDT for answering joinability and reducibility queries, in wh...
متن کاملHigher-Order Narrowing with Definitional Trees
Functional logic languages with a sound and complete operational semantics are mainly based on an inference rule called narrowing. Narrowing extends functional evaluation by goal solving capabilities as in logic programming. Due to the huge search space of simple narrowing, steadily improved narrowing strategies have been developed in the past. Needed narrowing is currently the best narrowing s...
متن کاملStrongly Sequential and Inductively Sequential Term Rewriting Systems
outermost-needed strategy index reduction Informatik II, RWTH Aachen, D-52056 Aachen, Germany, . Work partially supported by DFG (under grant Ha 2457/1-1) and Acci on Integrada. DSIC, U.P. de Valencia, Camino de la Vera s/n, Apdo. 22012, E-46071 Valencia, Spain, . Work partially supported by EEC-HCM grant ERBCHRXCT940624, Bancaixa (Bancaja-Europa grant), Acci on Integrada (HA19970073) and CICYT...
متن کاملFactors influencing the efficiency of foliar sprays of monopotassium phosphate in the olive
Olive trees have been traditionally cultivated in dry conditions as it is a crop very well adapted to Mediterranean dry lands. Foliar fertilization is a widespread application method used by olive growers to correct frequent deficient levels of potassium in olive trees under rainfed conditions. Monopotassium Phosphate (MKP) is an economic and easily available fertilizer and a fast source of P a...
متن کاملHolcf=hol+lcf
HOLCF is the de nitional extension of Church s Higher Order Logic with Scott s Logic for Computable Functions that has been implemented in the theorem prover Isabelle This results in a exible setup for reasoning about functional programs HOLCF supports stan dard domain theory in particular xpoint reasoning and recursive domain equations but also coinductive arguments about lazy datatypes This p...
متن کامل